﻿using System;
namespace SuperMarket
{
    public abstract class BaseProduct
    {
        // 商品名
        public string ProductName;

        // 进货价
        public decimal BuyingPrice;

        // 售价
        public decimal Price;

        // SKU
        public Guid SKU;

        // SPU
        public Guid SPU;

        public BaseProduct(string productName, decimal buyingPrice, decimal price, Guid sku, Guid spu)
        {
            ProductName = productName;
            BuyingPrice = buyingPrice;
            Price = price;
            SKU = sku;
            SPU = spu;
        }
    }
}
